/**
 * Project Name:cnsy-url-short-service
 * File Name:FileUploadSuccessResult.java
 * Package Name:cn.cnsy123.shorturls.business.result 
 * Date: 2020年4月6日-下午7:21:15
 * Copyright (c) 2020, yangpengfei@360@126.com All Rights Reserved. 
 *
 */

package cn.cnsy123.shorturls.api.controller.result;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * ClassName: FileUploadSuccessResult
 * 
 * @author yangpengfei
 * @date 2020年4月6日-下午7:21:15
 * @version 1.0
 * @since JDK 1.7
 */
public class FileUploadSuccessResult implements Serializable{

    /**
     * serialVersionUID:TODO(用一句话描述这个变量表示什么). 
     * @since JDK 1.7
     */
    private static final long serialVersionUID = 7099115158579817310L;

    private Long fileId;
    
    private String fileName;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8",locale = "zh")
    private Date fileUploadSuccessTime;
    
    private String fileSize;

    public Long getFileId() {
        return fileId;
    }

    public void setFileId(Long fileId) {
        this.fileId = fileId;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public Date getFileUploadSuccessTime() {
        return fileUploadSuccessTime;
    }

    public void setFileUploadSuccessTime(Date fileUploadSuccessTime) {
        this.fileUploadSuccessTime = fileUploadSuccessTime;
    }

    public String getFileSize() {
        return fileSize;
    }

    public void setFileSize(String fileSize) {
        this.fileSize = fileSize;
    }

    public static long getSerialversionuid() {
        return serialVersionUID;
    }

    public FileUploadSuccessResult() {
        super();
    }

    public FileUploadSuccessResult(Long fileId, String fileName, Date fileUploadSuccessTime, String fileSize) {
        super();
        this.fileId = fileId;
        this.fileName = fileName;
        this.fileUploadSuccessTime = fileUploadSuccessTime;
        this.fileSize = fileSize;
    }
    
    

}
